<?php	/* gmslOpenSource 2008 */
/*
----------------------------------------------------------------------------------------
	Project name:		gmslappcore
	Section:		settings
----------------------------------------------------------------------------------------
	Script name:		config.php
	Script location:	./
	Script version:		1.3
----------------------------------------------------------------------------------------
	Script info:		This page should be included at the beginning
				of every page in the system. It controls the
				whole of the main system, including databse
				connection.
	Script dependencies:
 				~None.
----------------------------------------------------------------------------------------
	This script is part of the gmslappcore system which is released
	under the GNU licese.
	Copyright: (c) 2008 groupmsl (groupmsl.co.uk)
	Email: projects+gmslappcore@groupmsl.co.uk
	Website: www.groupmsl.co.uk?section=cms&page=view&t=gmslappcore&f=groupmsl Open Source/gmslappcore
----------------------------------------------------------------------------------------
	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
----------------------------------------------------------------------------------------
*/

/*
Welcome to the configuration page for the gmslOpenSource system.
This page will set up basic settings necessary to get the rest
of the system up and running. You can then set all of the other
settings elsewhere.
*/
// SYSTEM LOCATIONS //
	// First of all we need to set the location of the gmslappcore, which the whole system needs to run: (including trailing forward slash)
	$settings['gmslappcore_location']='./gmslappcore/';

	// Next we need to tell the gmslappcore where this system is, in relation to the gmslappcore: (including trailing forward slash)
	$settings['system_location']='../';

// BASIC SETTINGS //
	// A unique name for you site that no-one else will use. This name will not be displayed in any page, but is necessary for the system to run. It may contain LOWER CASE letters, numbers and underscores (_) but nothing else.
	$settings['unix_id']='the_unique_id_for_this_site';
	//Please insert your organisation name here.
	$settings['organisation']="groupmsl";

// APPEARANCE SETTINGS //
	// Now we need to set the default skin for the system. The name specified below should be the same as the folder name for the skin. For more information on creating you own skin refer to the manual.
	$settings['default_skin']='gmsl9';
	
	// Next we need to set the default mobile skin for the system. The name specified below should be the same as the folder name for the skin. For more information on creating you own skin refer to the manual.
	$settings['default_mobile_skin']='gmsl9';

// DATABASE CONFIGURATION //
	// Please insert the address (IP or domain) of your mysql host (the default will often be correct already):
	$settings['sql_host']='localhost';

	// Now I need the database name that your data will be stored in (make sure this database actually exists):
	$settings['sql_database']='gmslappcore_mainsite';

	// Please type the name you would like your tables to have in your database. This is so that you can have more than one installation of the groupmsl-applicationcore on just one database.
	$settings['sql_table_name']='mainsite';

	// Please enter your sql username that you want the system to use to communicate to the database with:
	$settings['sql_username']='root';

	// Please insert you sql password below. We strongly recommend you have one.
	$settings['sql_password']='password';
// ADVANCED CONFIGURATION //
	// If there is one gmslappcore running multiple websites, and the websites wish to have different customised error messages, change the setting below from "appcore", to "indervidual". If this is in "appcore" mode, then the system will look in the "errors" folder in the gmslappcore folder, if it is set to "indervidual", then the system will look in the "gap_user_files" folder for a folder called "errors". By default the system does not include the errors folder in the "gap_user_files" folder, so if you change the setting below to "indervidual" then you need to copy, the "errors" folder in the gmslappcore folder, to your "gap_user_files" folder, then you can edit and customise the errors without changing the errors on other sites running off the same gmslappcore. Phew!
	$settings['error_messages']='appcore';
?>
